package com.thomas.sharing.mybatis.model;

import java.io.Serializable;
import java.math.BigDecimal;

import org.apache.ibatis.type.Alias;

@Alias("Displacement")
public class Displacement implements Serializable{
	
	private static final long serialVersionUID = 5847717560223981615L;
	private BigDecimal id;
	private BigDecimal name;	
	
	public BigDecimal getId() {
		return id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	public BigDecimal getName() {
		return name;
	}

	public void setName(BigDecimal name) {
		this.name = name;
	}

	@Override
	public String toString(){
		return "Displacement [id= " + this.getId() + ", name=" + this.getName() + "]";
	}
}
